<%= render :partial => @search_type, :locals => {:i => @item} %>

<%= form_tag({:controller => :item, :action => :add, :id => @itemcode, :type => @search_type}, :method => "post") %>
  <%= render :partial => 'form' %>
<%= end_form_tag %>
